package com.sky.dto;

import com.sky.entity.SetmealDish;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(description = "套餐数据")
public class SetmealDTO implements Serializable {

    @ApiModelProperty(value = "套餐id（修改操作必传）")
    private Long id;

    @ApiModelProperty(value = "分类id", required = true)
    private Long categoryId;

    @ApiModelProperty(value = "套餐名称", required = true)
    private String name;

    @ApiModelProperty(value = "套餐价格", required = true)
    private BigDecimal price;

    @ApiModelProperty(value = "状态（0:停用 1:启用）", example = "0")
    private Integer status;

    @ApiModelProperty(value = "图片", required = true)
    private String image;

    @ApiModelProperty(value = "描述信息")
    private String description;

    @ApiModelProperty(value = "套餐菜品关系", required = true)
    private List<SetmealDish> setmealDishes = new ArrayList<>();

}
